| URL | http://hl7.org/fhir/4.3/StructureDefinition/extension-ElementDefinition.pattern[x] |
| Version | |
| Status | active |
| Description | Cross-Version Extension for ElementDefinition.pattern[x]. Valid in versions R2, R3, R4, R5 This is a valid extension because it has the types RatioRange, CodeableReference |
Context of Use
This extension may be used in the following contexts:
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | 0..1 | Extension | Value must have at least these property values | |
![]() ![]() | ..0 | |||
![]() ![]() | 1.. | |||
![]() ![]() ![]() | CodeableReference | |||
![]() ![]() ![]() | RatioRange | |||
![]() ![]() | "http://hl7.org/fhir/4.3/StructureDefinition/extension-ElementDefinition.pattern[x]" | |||
Documentation for this format | ||||
{
"resourceType" : "StructureDefinition",
"id" : "xv-r4b-eld.pattern[x]",
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-ElementDefinition.pattern[x]",
"name" : "XVerExtensionElementDefinition.pattern[x]R4B",
"title" : "Cross-Version Extension for ElementDefinition.pattern[x] in R4B",
"status" : "active",
"experimental" : false,
"publisher" : "HL7 FHIR Standard",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
}],
"description" : "Cross-Version Extension for ElementDefinition.pattern[x]. Valid in versions R2, R3, R4, R5\r\n\r\nThis is a valid extension because it has the types RatioRange, CodeableReference",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}]
}],
"fhirVersion" : "5.0.0",
"kind" : "complex-type",
"abstract" : false,
"context" : [{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "5.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "5.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "ElementDefinition"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ElementDefinition"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "4.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "4.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "ElementDefinition"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-ElementDefinition"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "3.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "3.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "ElementDefinition"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-ElementDefinition"
},
{
"extension" : [{
"extension" : [{
"url" : "startFhirVersion",
"valueCode" : "1.0"
},
{
"url" : "endFhirVersion",
"valueCode" : "1.0"
}],
"url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
}],
"type" : "element",
"expression" : "ElementDefinition"
},
{
"type" : "extension",
"expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ElementDefinition"
}],
"type" : "Extension",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation" : "constraint",
"differential" : {
"element" : [{
"path" : "Extension",
"short" : "Value must have at least these property values",
"definition" : "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. \n\nWhen pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.\n\nWhen pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array.\n\nWhen pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,\n\n1. If primitive: it must match exactly the pattern value\n2. If a complex object: it must match (recursively) the pattern value\n3. If an array: it must match (recursively) the pattern value.",
"comment" : "Mostly used for fixing values of CodeableConcept. In general, pattern[x] is not intended for use with primitive types, where is has the same meaning as fixed[x].",
"min" : 0,
"max" : "1",
"isModifier" : false,
"mapping" : [{
"identity" : "rim",
"map" : "N/A (MIF territory)"
}]
},
{
"path" : "Extension.extension",
"max" : "0"
},
{
"path" : "Extension.value[x]",
"min" : 1,
"type" : [{
"code" : "CodeableReference"
},
{
"code" : "RatioRange"
}]
},
{
"path" : "Extension.url",
"fixedUri" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-ElementDefinition.pattern[x]"
}]
}
}